ae1bec119e7a79d4ad20b9ee3d135723d0097b73,core/tool/builder/source_gen/jetbrains/mps/tool/builder/paths/ModuleOutputPaths.java,ModuleOutputPaths,ModuleOutputPaths,#Iterable#,28

Before Change


        );
      }
    }));
    this.sortedTestOutCacheDirs = DirUtil.sortDirs(Sequence.fromIterable(Sequence.fromArray(this.sortedTestOutDirs)).select(new ISelector<String, String>() {
      public String select(String outDir) {
        return FileGenerationUtil.getCachesPath(outDir);
      }
    }));

    Iterable<String> modelRootPaths = Sequence.fromIterable(modules).translate(new ITranslator2<SModule, ModelRoot>() {
      public Iterable<ModelRoot> translate(SModule mod) {

After Change


      }
    }));
    // todo: use union of output paths for models? 
    this.sortedTestOutDirs = DirUtil.sortDirs(Sequence.fromIterable(modules).select(new ISelector<AbstractModule, String>() {
      public String select(AbstractModule mod) {
        // todo: tmp hack 
        String path = mod.getTestsGeneratorOutputPath();
        return (path != null ?
          path :
          mod.getGeneratorOutputPath()
        );
      }
    }));
    this.sortedTestOutCacheDirs = DirUtil.sortDirs(Sequence.fromIterable(modules).select(new ISelector<AbstractModule, String>() {
      public String select(AbstractModule mod) {
        // todo: tmp hack